# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from collections import OrderedDict

from .single_char_pair import SingleCharPair

class InlineCode(SingleCharPair):
    """
    InlineCode
    行内代码
    """
    def __init__(self, paragraph, paragraph_index):
        super(InlineCode, self).__init__(paragraph, '`', 'inline_code', paragraph_index)

    def _toHtml(self, content):
        return '<code class="rmk-inline-code">' + content + '</code>'